package com.acminds.fotoporter.persistence.entities;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the ITEM_FEATURE database table.
 * 
 */
@Entity
@Table(name="ITEM_FEATURE")
public class ItemFeature extends com.acminds.fotoporter.persistence.BaseDTO implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="ITEM_FEATURE_ID")
	private int itemFeatureId;

	@Column(name="FEATURE_PRICE")
	private BigDecimal featurePrice;

	@Column(name="STATUS")
	private int status;

	//bi-directional many-to-one association to Feature
    @ManyToOne
	@JoinColumn(name="FEATURE_ID")
	private Feature feature;

	//bi-directional many-to-one association to Item
    @ManyToOne
	@JoinColumn(name="ITEM_ID")
	private Item item;

    public ItemFeature() {
    }

	public int getItemFeatureId() {
		return this.itemFeatureId;
	}

	public void setItemFeatureId(int itemFeatureId) {
		this.itemFeatureId = itemFeatureId;
	}

	public BigDecimal getFeaturePrice() {
		return this.featurePrice;
	}

	public void setFeaturePrice(BigDecimal featurePrice) {
		this.featurePrice = featurePrice;
	}

	public int getStatus() {
		return this.status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Feature getFeature() {
		return this.feature;
	}

	public void setFeature(Feature feature) {
		this.feature = feature;
	}
	
	public Item getItem() {
		return this.item;
	}

	public void setItem(Item item) {
		this.item = item;
	}
	
}